#include <iostream>
#include <vector>

using namespace std;
class Solution
{
public:
   int minBitFlips(int start, int goal)
   {
      uint32_t num = start ^ goal;
      int count = 0;
      while (num)
      {
         count += num & 1;
         num >>= 1;
      }
      return count;
   }
};
int main()
{
   Solution s;
   cout << s.minBitFlips(10, 7) << endl;
   return 0;
}
